import React from "react";
import Editor from "md-editor-rt";
import "md-editor-rt/lib/style.css";
export default function EditorRt({ value, onchange }) {
  return (
    <Editor
      modelValue={value}
      style={{ height: 600 }}
      onChange={(e) => {
        onchange(e);
      }}
    />
  );
}
